package edu.sctu.practice.class01.zcy.month10.day20151105.test01;

/**
 * Created by zcy on 2015/11/5.
 */
public class Learning implements CourseLearning{

    public Learning(String courseName) {
        openComputer();
        study(courseName);
        closeComputer();
    }

    @Override
    public void openComputer() {

        System.out.println("openComputer");
    }

    @Override
    public void study(String courseName) {
        System.out.println(courseName);
    }

    @Override
    public void closeComputer() {

        System.out.println("closeComputer");
    }


}
